/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.finjic.exception;

/**
 * @author apets
 */
public class DuplicateBeanIdException extends RuntimeException {
    private String beanId;

    public DuplicateBeanIdException(String beanId) {
        this.beanId = beanId;
    }

    @Override
    public String getMessage() {
        return "Bean with id: " + beanId + " is already defined";
    }
}
